#include<stdio.h>
int main()
{
	int F=0;
	int C=0;
	scanf("%d",&F);
	C=5*(F-32)/9.0;
	printf("Celsius = %d",C);
	return 0;
}
